package com.smartbone.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Lookup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "lookup", catalog = "stockmaster")
public class Lookup implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7380346210102500228L;
	private Integer id;
	private String groupNo;
	private String itemNo;
	private String displayValue;
	private String descript;
	private Boolean status;

	// Constructors

	/** default constructor */
	public Lookup() {
	}

	/** full constructor */
	public Lookup(String groupNo, String itemNo, String displayValue,
			String descript, Boolean status) {
		this.groupNo = groupNo;
		this.itemNo = itemNo;
		this.displayValue = displayValue;
		this.descript = descript;
		this.status = status;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "groupNo", nullable = false, length = 10)
	public String getGroupNo() {
		return this.groupNo;
	}

	public void setGroupNo(String groupNo) {
		this.groupNo = groupNo;
	}

	@Column(name = "itemNo", nullable = false, length = 10)
	public String getItemNo() {
		return this.itemNo;
	}

	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}

	@Column(name = "displayValue", nullable = false, length = 20)
	public String getDisplayValue() {
		return this.displayValue;
	}

	public void setDisplayValue(String displayValue) {
		this.displayValue = displayValue;
	}

	@Column(name = "descript", nullable = false, length = 45)
	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}

	@Column(name = "status", nullable = false)
	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

}